country <- c("Algeria", "Argentina", "Bangladesh", "Barbados", "Belarus", "Belize", "Benin", "Bosnia and Herzegovina", "Cameroon", "Central African Republic", "Chad", "Democratic Republic of the Congo", "Republic of the Congo", "Costa Rica", "Cote d'Ivoire", "Dominican Republic", "El Salvador", "Eswatini", "Ghana", "Guinea", "Guinea Bissau", "Guyana", "Iraq", "Jamaica", "Kazakhstan", "Kenya", "Kosovo", "Kyrgyzstan", "Laos", "Macedonia", "Madagascar", "Malawi", "Mali", "Mauritania", "Mexico", "Moldova", "Mongolia", "Montenegro", "Nepal", "Nigeria", "Pakistan", "Panama", "Paraguay", "Sao Tome and Principe", "Senegal", "Serbia", "Sierra Leone", "Somalia", "St. Lucia", "State of Palestine", "Suriname", "Thailand", "The Gambia", "Togo", "Trinidad and Tobago", "Tunisia", "Turkmenistan", "Ukraine", "Uruguay", "Vietnam", "Zimbabwe")
MICScountries <- data.frame(country)
MICScountries$country_iso <- countrycode(MICScountries$country,
'country.name',
'iso3c')# geographic options
g <- list(showframe = TRUE,
showcoastlines = TRUE,
showcountries = TRUE,
showland = TRUE,
countrycolor = toRGB("grey"),
showocean = TRUE,
# projection = list(type = 'robinson'),
projection = list(type = 'orthographic',
rotation = list(lon = 0,
lat = 0,
roll = 0)),
showland = TRUE,
landcolor = toRGB("grey"))
g2 <- list(showland = TRUE,
landcolor = toRGB("grey"),
showcountries = TRUE,
showocean = FALSE,
projection = list(type = 'orthographic',
rotation = list(lon = 0,
lat = 0,
roll = 0)),
lataxis = list(showgrid = TRUE,
gridcolor = toRGB("black")),
lonaxis = list(showgrid = TRUE,
gridcolor = toRGB("black")))
g3 <- list(showland = TRUE,
landcolor = toRGB("grey"),
showcountries = TRUE,
showocean = FALSE,
projection = list(type = 'robinson'),
lataxis = list(showgrid = TRUE,
gridcolor = toRGB("black")),
lonaxis = list(showgrid = TRUE,
gridcolor = toRGB("black")))
# text options
t <- list(
family = "sans serif",
size = 8,
color = toRGB("black"))
# line options
l <- list(color = toRGB("grey"), width = 0.5)NB that the globes allow you to take a snapshot of a particular view with the icon.